package com.yangjie.web.example;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Component;


@Component
@PreAuthorize("denyAll")
public class RosterService {
	@PreAuthorize("isAuthenticated()")
	public void print() {
		System.out.println("RosterService ....");
	}
}
